<%-- 
    Document   : quanlyuser
    Created on : Oct 14, 2011, 7:14:20 PM
    Author     : Rocker000
--%>

<%@page import="dao.KhachHang_dao"%>
<%@page import="java.util.ArrayList"%>
<%@page import="pojo.KhachHang_pojo"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<%
ArrayList<KhachHang_pojo> ds = new ArrayList<KhachHang_pojo>();
ds = KhachHang_dao.LayDanhSach();
%>
<table boder="0" width="100%">
    <tr>
        <td align="center">
            <h2><font color="red"><Strong>Danh sách khách hàng</strong></font><h2>    
        </td>
    </tr>
    <tr>
        <td align="left">
            <%for(int i =0;i< ds.size();i++){KhachHang_pojo kh = ds.get(i); %>
            <a href="thongtincanhan.jsp?makhachhang=<%=kh.getMaKhachHang() %>&&readonly=true"><%=kh.getTenKhachhang() %>(<%=kh.getTenDangNhap() %>)</a><br/><%}%>            
        </td>
    </tr>
</table>

